package exceptionExamples;

public class ExceptionUse {
	public static void main(String[] args) throws Exception {
		try {
			int[] ints = new int[3];
			for (int i = 0; i < 4; i++) {
				System.out.println(ints[i]);
			}

		} catch (Exception e) {
			e.printStackTrace();
			Throwable throwable = e.fillInStackTrace();
			System.out.println("123");
			throw (Exception)e;
		}
	}
}
